function shopViewShorteningFnc(actionname){
    $(document).ready(function(){
        $(document.body).hide();
        var fs = document.forms;
        var flag = "true";

        $(fs).each(function() {
            var btn = $('input[id=\'shopView\']');
            if(btn.length){
                btn.click();
            }else{
                flag = "false";
                $(document.body).show();
            }
        });

        if(flag == "true") {
            var submitForm = document.createElement("form");
            $(submitForm).attr("method", "post");
            $(submitForm).attr("action", actionname);
            $(submitForm).submit();
        }
    });
}